home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(this.hot.hitTest(_root.ball) and pushbar == 0)
- {
- pushbar = 1;
- i = 14;
- while(i <= 18)
- {
- if(_root["ban" add i]._currentframe == 3)
- {
- _root["ban" add i].gotoAndStop(4);
- }
- else if(_root["ban" add i]._currentframe == 4)
- {
- _root["ban" add i].gotoAndStop(3);
- }
- i++;
- }
- }
- if(this.hot.hitTest(_root.ball) == false and pushbar == 1)
- {
- pushbar = 0;
- }
- }
-